home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17826 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: news.vanderbilt.edu!saveenr
  2. From: saveenr@vuse.vanderbilt.edu (Saveen Reddy)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Looking for C++ Source Formatter
  5. Date: 17 Apr 1996 18:44:32 GMT
  6. Organization: Vanderbilt University School of Engineering, Nashville, TN, USA
  7. Message-ID: <4l3e6g$q37@news.vanderbilt.edu>
  8. References: <4kcr0p$jds@arl-news-svc-2.compuserve.com> <4kjh1o$39b@masala.cc.uh.edu>
  9. NNTP-Posting-Host: oak.vuse.vanderbilt.edu
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. pat neff (pmn12564@Bayou.UH.EDU) wrote:
  13. : 75333.2016@compuserve.com wrote:
  14.  
  15. : : Hi,
  16.  
  17. : : Does anyone know about a source code formatter for C++ ?  Something
  18. : : similar to "indent" would do nicely, but, if I recall correctly, indent doesn't
  19. : : handle some C++ constructs (such as ::, template declarations) very well.
  20. : : I'm looking for something that will handle indenting, brace placement,
  21. : : comment placement, whitespace, etc.
  22.  
  23. : : Any help would be appriciated,
  24. : : Steve
  25.  
  26. :     Nothing to add except that I have been looking for one of these suckers
  27. : for awhile.  Does anyone have one?  If not, how about the source code to indent?
  28.  
  29. I located a version of indent that does do C++. It's on Simtel in the
  30. MSDOS collection listed under the "c" files.  The files are provided
  31. as an msdos executable as well as source code (which compiles for
  32. OS/2, DOS, and Unix).  The source compiled successfully for me with
  33. gcc under solaris.
  34.  
  35. The URL for the "c" section on Simtel is :
  36.  
  37.     http://www.coast.net/SimTel/msdos/c.html
  38.  
  39. Look for indents.zip (the source) and indentx.zip (the msdos executable).
  40.  
  41. A web-based front-end to this version of indent is also available
  42. at 
  43.  
  44. http://cornelius.cc.vanderbilt.edu/Users/saveenr/AppDev/Completed/WebIndent
  45.  
  46.  
  47. -Saveen
  48. saveenr@acm.org
  49.  
  50.